package com.cyzy.controller;

import com.cyzy.dto.ResponseData;
import com.cyzy.service.TWalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/TWallet")
public class TWalletController {
    @Autowired
    private TWalletService tWalletService;
    @RequestMapping("/getTWallet")
    public ResponseData getTWallet(String userId) {
    return  tWalletService.getTWallet(userId);
    }
}
